package com.qidianit.mes.masterdata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qidianit.mes.masterdata.mapper.MaterialMapper;
import com.qidianit.mes.masterdata.service.MaterialService;
import com.qidianit.mes.pojo.Material;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @company 起点编程
 * @author 戴着假发的程序员
 * @date 2025/7/22
 * @description 物料Service实现类
 */
@Service
@Transactional
public class MaterialServiceImpl extends ServiceImpl<MaterialMapper, Material> implements MaterialService {

    @Autowired
    private MaterialMapper materialMapper;
    @Override
    public int updateXxx() {
        return 0;
    }

    @Override
    public Material get(String id) {
        return materialMapper.getById(id);
    }
}